package com.cps.framecommon.domain.vo;

import lombok.Data;

import java.sql.Timestamp;

/**
 * @author 11202
 */
@Data
public class LoadInfo {
    private String applicationName;
    private String ip;
    private int port;
    private double cpuAvailable;
    private double memoryAvailable;
    private String podName;
    private Timestamp timestamp;

    public LoadInfo() {
    }

    public LoadInfo(String ip, int port, double cpuAvailable, double memoryAvailable) {
        this.ip = ip;
        this.port = port;
        this.cpuAvailable = cpuAvailable;
        this.memoryAvailable = memoryAvailable;
    }
}
